# Fixtures ForecasterRecursive
# ==============================================================================
import numpy as np
import pandas as pd

y = pd.Series(
    data = np.array(
                [2, 1, 3, 2, 2, 1, 2, 2, 1, 1, 2, 3, 2, 2, 2, 3, 1, 3, 3, 2, 3, 3,
                 2, 3, 1, 3, 3, 2, 2, 3, 3, 1, 2, 2, 1, 2, 1, 2, 3, 3, 1, 2, 2, 2,
                 1, 2, 2, 1, 3, 2],
                 dtype=int
           ),
    name = 'y'
)
y_dt = y.copy()
y_dt.index = pd.date_range(start='2020-01-01', periods=len(y), freq='D')

exog = pd.Series(
    data = np.array(
               [0.12062867, 0.8263408 , 0.60306013, 0.54506801, 0.34276383,
                0.30412079, 0.41702221, 0.68130077, 0.87545684, 0.51042234,
                0.66931378, 0.58593655, 0.6249035 , 0.67468905, 0.84234244,
                0.08319499, 0.76368284, 0.24366637, 0.19422296, 0.57245696,
                0.09571252, 0.88532683, 0.62724897, 0.72341636, 0.01612921,
                0.59443188, 0.55678519, 0.15895964, 0.15307052, 0.69552953,
                0.31876643, 0.6919703 , 0.55438325, 0.38895057, 0.92513249,
                0.84167   , 0.35739757, 0.04359146, 0.30476807, 0.39818568,
                0.70495883, 0.99535848, 0.35591487, 0.76254781, 0.59317692,
                0.6917018 , 0.15112745, 0.39887629, 0.2408559 , 0.34345601
           ]),
    name = 'exog'
)
exog_dt = exog.copy()
exog_dt.index = pd.date_range(start='2020-01-01', periods=len(exog), freq='D')

exog_predict = pd.Series(
    data = np.array(
               [0.12062867, 0.8263408 , 0.60306013, 0.54506801, 0.34276383,
                0.30412079, 0.41702221, 0.68130077, 0.87545684, 0.51042234]
           ),
    name = 'exog',
    index = pd.RangeIndex(start=50, stop=60)
)
exog_dt_predict = exog_predict.copy()
exog_dt_predict.index = pd.date_range(start='2020-02-20', periods=len(exog_predict), freq='D')
